[INFO] cloning repository https://github.com/lekoOwO/leko-mattermost-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lekoOwO/leko-mattermost-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a5cbc45d471c7a46610d17c06ddb887048f118f
[INFO] testing lekoOwO/leko-mattermost-bot against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/lekoOwO/leko-mattermost-bot
[INFO] finished tweaking git repo https://github.com/lekoOwO/leko-mattermost-bot
[INFO] tweaked toml for git repo https://github.com/lekoOwO/leko-mattermost-bot written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lekoOwO/leko-mattermost-bot on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lekoOwO/leko-mattermost-bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89360dad27276784a3fe254a239443c4035ff93f15aafa43e37e14fe5a81529f
[INFO] running `Command { std: "docker" "start" "-a" "89360dad27276784a3fe254a239443c4035ff93f15aafa43e37e14fe5a81529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89360dad27276784a3fe254a239443c4035ff93f15aafa43e37e14fe5a81529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89360dad27276784a3fe254a239443c4035ff93f15aafa43e37e14fe5a81529f", kill_on_drop: false }`
[INFO] [stdout] 89360dad27276784a3fe254a239443c4035ff93f15aafa43e37e14fe5a81529f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8422812f9f87d284c7de793d184700cbfc67e1767fd369456d21c8d676cb9f75
[INFO] running `Command { std: "docker" "start" "-a" "8422812f9f87d284c7de793d184700cbfc67e1767fd369456d21c8d676cb9f75", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling aws-lc-rs v1.15.3
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling webpki-roots v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling aws-lc-sys v0.36.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling rust_decimal_macros v1.40.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling warp v0.4.2
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.13.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling leko-mattermost-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `DEFAULT_VERSION` is never used
[INFO] [stdout]   --> src/constants.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const DEFAULT_VERSION: i32 = 1;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MERCHANT_NAME_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const MAX_MERCHANT_NAME_LENGTH: usize = 100;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DESCRIPTION_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const MAX_DESCRIPTION_LENGTH: usize = 500;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_METADATA_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const MAX_METADATA_LENGTH: usize = 1000;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_ADJUSTMENTS_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const MAX_ADJUSTMENTS_LENGTH: usize = 3000;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_YAML_SIZE` is never used
[INFO] [stdout]   --> src/constants.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub const MAX_YAML_SIZE: usize = 10_000;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_price_decimal` is never used
[INFO] [stdout]   --> src/constants.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn max_price_decimal() -> Decimal {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rust_log` is never read
[INFO] [stdout]   --> src/env.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct EnvConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub rust_log: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnvConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `in_channel_json_reply` is never used
[INFO] [stdout]   --> src/handlers/reply_helpers.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn in_channel_json_reply(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_form` is never used
[INFO] [stdout]    --> src/handlers/reply_helpers.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl SlashCommandParams {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 140 |     /// 從表單中建立 SlashCommandParams
[INFO] [stdout] 141 |     pub fn from_form(form: &HashMap<String, String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Emoji` is never constructed
[INFO] [stdout]    --> src/mattermost.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct Emoji {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_emoji_by_name` is never used
[INFO] [stdout]    --> src/mattermost.rs:415:18
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl MattermostClient {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub async fn get_emoji_by_name(&self, name: &str) -> Result<Emoji> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TooLong` and `Custom` are never constructed
[INFO] [stdout]   --> src/validation.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ValidationError {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     TooLong { field: String, max_length: usize },
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Custom { message: String },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValidationError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `validate_merchant_name`, `validate_description`, `validate_metadata`, `validate_adjustments`, and `validate_group_buy_form` are never used
[INFO] [stdout]    --> src/validation.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl GroupBuyValidator {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout]  56 |     /// 驗證商家名稱
[INFO] [stdout]  57 |     pub fn validate_merchant_name(name: &str) -> Result<String, ValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn validate_description(desc: Option<&str>) -> Result<Option<String>, ValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn validate_metadata(metadata: Option<&str>) -> Result<Option<String>, ValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn validate_adjustments(adjustments: Option<&str>) -> Result<Option<String>, ValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn validate_group_buy_form(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValidatedGroupBuyForm` is never constructed
[INFO] [stdout]    --> src/validation.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct ValidatedGroupBuyForm {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s
[INFO] running `Command { std: "docker" "inspect" "8422812f9f87d284c7de793d184700cbfc67e1767fd369456d21c8d676cb9f75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8422812f9f87d284c7de793d184700cbfc67e1767fd369456d21c8d676cb9f75", kill_on_drop: false }`
[INFO] [stdout] 8422812f9f87d284c7de793d184700cbfc67e1767fd369456d21c8d676cb9f75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13a07170873ad0388dd85e10faadee275f0862812c5eef378037e6a8c58f03bb
[INFO] running `Command { std: "docker" "start" "-a" "13a07170873ad0388dd85e10faadee275f0862812c5eef378037e6a8c58f03bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling colored v3.1.1
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling reqwest v0.13.1
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling mockito v1.7.1
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling leko-mattermost-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `DEFAULT_VERSION` is never used
[INFO] [stdout]   --> src/constants.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const DEFAULT_VERSION: i32 = 1;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_YAML_SIZE` is never used
[INFO] [stdout]   --> src/constants.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub const MAX_YAML_SIZE: usize = 10_000;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_price_decimal` is never used
[INFO] [stdout]   --> src/constants.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn max_price_decimal() -> Decimal {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rust_log` is never read
[INFO] [stdout]   --> src/env.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct EnvConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub rust_log: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnvConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `in_channel_json_reply` is never used
[INFO] [stdout]   --> src/handlers/reply_helpers.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn in_channel_json_reply(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Emoji` is never constructed
[INFO] [stdout]    --> src/mattermost.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct Emoji {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_emoji_by_name` is never used
[INFO] [stdout]    --> src/mattermost.rs:415:18
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl MattermostClient {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub async fn get_emoji_by_name(&self, name: &str) -> Result<Emoji> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_mock_channel` and `as_any` are never used
[INFO] [stdout]   --> src/test_utils.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     impl MockMattermostService {
[INFO] [stdout]    |     -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |         pub fn add_mock_channel(&self, id: &str, channel_type: &str) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |         pub fn as_any(&self) -> &dyn std::any::Any {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Custom` is never constructed
[INFO] [stdout]   --> src/validation.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ValidationError {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Custom { message: String },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValidationError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.87s
[INFO] running `Command { std: "docker" "inspect" "13a07170873ad0388dd85e10faadee275f0862812c5eef378037e6a8c58f03bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13a07170873ad0388dd85e10faadee275f0862812c5eef378037e6a8c58f03bb", kill_on_drop: false }`
[INFO] [stdout] 13a07170873ad0388dd85e10faadee275f0862812c5eef378037e6a8c58f03bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a60111f50320c176a34e9354df77519e97f9e8d5a40bdece6f876069be10f097
[INFO] running `Command { std: "docker" "start" "-a" "a60111f50320c176a34e9354df77519e97f9e8d5a40bdece6f876069be10f097", kill_on_drop: false }`
[INFO] [stderr] warning: constant `DEFAULT_VERSION` is never used
[INFO] [stderr]   --> src/constants.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub const DEFAULT_VERSION: i32 = 1;
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_YAML_SIZE` is never used
[INFO] [stderr]   --> src/constants.rs:83:15
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pub const MAX_YAML_SIZE: usize = 10_000;
[INFO] [stderr]    |               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `max_price_decimal` is never used
[INFO] [stderr]   --> src/constants.rs:86:12
[INFO] [stderr]    |
[INFO] [stderr] 86 |     pub fn max_price_decimal() -> Decimal {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `rust_log` is never read
[INFO] [stderr]   --> src/env.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct EnvConfig {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub rust_log: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EnvConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `in_channel_json_reply` is never used
[INFO] [stderr]   --> src/handlers/reply_helpers.rs:55:8
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub fn in_channel_json_reply(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Emoji` is never constructed
[INFO] [stderr]    --> src/mattermost.rs:174:12
[INFO] [stderr]     |
[INFO] [stderr] 174 | pub struct Emoji {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_emoji_by_name` is never used
[INFO] [stderr]    --> src/mattermost.rs:415:18
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl MattermostClient {
[INFO] [stderr]     | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 415 |     pub async fn get_emoji_by_name(&self, name: &str) -> Result<Emoji> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_mock_channel` and `as_any` are never used
[INFO] [stderr]   --> src/test_utils.rs:51:16
[INFO] [stderr]    |
[INFO] [stderr] 29 |     impl MockMattermostService {
[INFO] [stderr]    |     -------------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 51 |         pub fn add_mock_channel(&self, id: &str, channel_type: &str) {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |         pub fn as_any(&self) -> &dyn std::any::Any {
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Custom` is never constructed
[INFO] [stderr]   --> src/validation.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum ValidationError {
[INFO] [stderr]    |          --------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 24 |     Custom { message: String },
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ValidationError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `leko-mattermost-bot` (bin "leko-mattermost-bot" test) generated 9 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leko_mattermost_bot-195ab210ec35ea69)
[INFO] [stdout] 
[INFO] [stdout] running 69 tests
[INFO] [stdout] test config::tests::test_load_config_from_file ... ok
[INFO] [stdout] test env::tests::test_get_config_path_priority ... ok
[INFO] [stdout] test env::tests::test_env_config_default ... ok
[INFO] [stdout] test handlers::group_buy::dialogs::dialog_builders::tests::test_text_element ... ok
[INFO] [stdout] test handlers::group_buy::dialogs::dialog_builders::tests::test_text_element_optional ... ok
[INFO] [stdout] test handlers::group_buy::dialogs::dialog_builders::tests::test_textarea_element ... ok
[INFO] [stdout] test config::tests::test_load_config_with_env_var ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_basic ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_action_buttons_active ... ok
[INFO] [stdout] test handlers::group_buy::dialogs::dialog_builders::tests::test_number_element ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_action_buttons_closed ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_closed ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_with_description ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_with_empty_orders ... ok
[INFO] [stdout] test env::tests::test_has_external_schema ... ok
[INFO] [stdout] test database::tests::test_create_and_get_group_buy ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_skips_example_item ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_closed_status_ok ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_active_status_closed ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_active_status_ok ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_creator_permission_allowed ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_creator_permission_denied ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_parse_dialog_submission_form_payload ... ok
[INFO] [stdout] test handlers::leko::tests::test_parse_subcommand ... ok
[INFO] [stdout] test handlers::reply_helpers::tests::test_get_form_field ... ok
[INFO] [stdout] test handlers::reply_helpers::tests::test_slash_command_params_from_form ... ok
[INFO] [stdout] test mattermost::tests::test_attachment_serialization ... ok
[INFO] [stdout] test database::tests::test_create_order_and_queries ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_check_closed_status_still_active ... ok
[INFO] [stdout] test handlers::group_buy::utils::tests::test_extract_state_value ... ok
[INFO] [stdout] test sticker::tests::test_get_url_hash ... ok
[INFO] [stdout] test handlers::group_buy::tests::integration_tests::test_open_create_dialog_with_mock ... ok
[INFO] [stdout] test database::tests::test_update_items_and_version_conflict ... ok
[INFO] [stdout] test handlers::group_buy::tests::integration_tests::test_mock_user_interaction ... ok
[INFO] [stdout] test database::tests::test_update_post_id_and_status ... ok
[INFO] [stdout] test database::tests::test_sticker_bulk_insert_and_search ... ok
[INFO] [stdout] test config::tests::test_default_avatar_url ... ok
[INFO] [stdout] test test_utils::tests::test_mock_create_post_with_response ... ok
[INFO] [stdout] test validation::tests::test_validate_adjustments ... ok
[INFO] [stdout] test test_utils::tests::test_mock_mattermost_service ... ok
[INFO] [stdout] test validation::tests::test_validate_group_buy_form ... ok
[INFO] [stdout] test database::tests::test_delete_buyer_item_and_delete_all ... ok
[INFO] [stdout] test sticker::tests::test_load_csv_with_image_column ... ok
[INFO] [stdout] test validation::tests::test_validate_metadata ... ok
[INFO] [stdout] test validation::tests::test_validate_price ... ok
[INFO] [stdout] test websocket::tests::test_get_help_message ... ok
[INFO] [stdout] test database::tests::test_adjust_single_and_batch ... ok
[INFO] [stdout] test websocket::tests::test_parse_post_data_empty_fields ... ok
[INFO] [stdout] test websocket::tests::test_parse_post_data_valid ... ok
[INFO] [stdout] test websocket::tests::test_parse_posted_event_data_direct_message ... ok
[INFO] [stdout] test websocket::tests::test_parse_posted_event_data_not_dm ... ok
[INFO] [stdout] test websocket::tests::test_parse_websocket_event_invalid ... ok
[INFO] [stdout] test websocket::tests::test_parse_websocket_event_valid ... ok
[INFO] [stdout] test sticker::tests::test_load_from_config_replaces_existing ... ok
[INFO] [stdout] test sticker::tests::test_get_categories ... ok
[INFO] [stdout] test websocket::tests::test_should_process_event_auth_ok ... ok
[INFO] [stdout] test websocket::tests::test_should_process_event_posted ... ok
[INFO] [stdout] test sticker::tests::test_search ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_with_metadata ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_with_items ... ok
[INFO] [stdout] test handlers::group_buy::messages::tests::test_generate_group_buy_message_with_orders ... ok
[INFO] [stdout] test validation::tests::test_validate_description ... ok
[INFO] [stdout] test validation::tests::test_validate_merchant_name ... ok
[INFO] [stdout] test validation::tests::test_validate_items_yaml ... ok
[INFO] [stdout] test handlers::group_buy::tests::integration_tests::test_mock_error_scenario ... ok
[INFO] [stdout] test sticker::tests::test_load_json ... ok
[INFO] [stdout] test sticker::tests::test_search_advanced ... ok
[INFO] [stdout] test sticker::tests::test_load_csv ... ok
[INFO] [stdout] test mattermost::tests::test_create_client ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 69 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests scripts/sqlx_prepare.rs (/opt/rustwide/target/debug/deps/sqlx_prepare-41f1cf1e7f9305ed)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a60111f50320c176a34e9354df77519e97f9e8d5a40bdece6f876069be10f097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a60111f50320c176a34e9354df77519e97f9e8d5a40bdece6f876069be10f097", kill_on_drop: false }`
[INFO] [stdout] a60111f50320c176a34e9354df77519e97f9e8d5a40bdece6f876069be10f097
